package com.topvision.service.impl.zwan;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.topvision.mapper.zwan.DeviceCcMapper;
import com.topvision.model.zwan.DeviceCc;
import com.topvision.service.zwan.DeviceCcService;

@Service("deviceCcService")
public class DeviceCcServiceImpl implements DeviceCcService {
	@Autowired
	private DeviceCcMapper deviceCcMapper;
	
	@Override
	public DeviceCc queryObject(Long id){
		return deviceCcMapper.queryObject(id);
	}
	
	@Override
	public List<DeviceCc> queryList(Map<String, Object> map){
		return deviceCcMapper.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return deviceCcMapper.queryTotal(map);
	}
	
	@Override
	public void save(DeviceCc deviceCc){
		deviceCcMapper.save(deviceCc);
	}
	
	@Override
	public void update(DeviceCc deviceCc){
		deviceCcMapper.update(deviceCc);
	}
	
	@Override
	public void delete(Long id){
		deviceCcMapper.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		deviceCcMapper.deleteBatch(ids);
	}

    @Override
    public DeviceCc queryObjectByMap(Map<String, Object> map){
        return deviceCcMapper.queryObjectByMap(map);
    }

    @Override
    public List<DeviceCc> queryByParam(Map<String, Object> map){
        return deviceCcMapper.queryByParam(map);
    }
}
